<template>
  <view class="tabWrap">
    <tabBar></tabBar>
  </view>
</template>

<script>
import tabBar from "../component/tabBar/tabBar.vue";

export default {
  components:{
    tabBar
  },
  data() {
    return {
      PageCur: 'home',
      commponent1Key: 0,
      commponent2Key: 0,
      keyword: '遥看瀑布挂前川'
    }
  },
  onLoad: function () {
    this.PageCur = 'home'
    ++this.commponent1Key
    ++this.commponent2Key
  },
  methods: {
    NavChange: function (e) {
      this.PageCur = e.currentTarget.dataset.cur
    }

  }
}
</script>

<style scoped lang="scss">
.tabWrap{
  height: 100vh;
  width: 100%;
  position: relative;
}
</style>
